From: Hari Rana Date: Sat, 13 Dec 2025 03:36:57 +0000 (-0500) Subject: overviewControls: Use ease-out-sine when entering overview and app grid X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~55^2^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=752b901acc153f8cd60524462f741deaf9be22a4;p=gnome-shell.git overviewControls: Use ease-out-sine when entering overview and app grid Using animations with slower initial curves on display-wide layout shifts may provide a smoother experience to users of low(er) refresh rate and/or large(r) displays, as they avoid skipping large chunks of frames, making it less choppy at the beginning of the animation. Part-of: (cherry picked from commit c518e3ddcc7bee86331a3c2f73896793d00f4f91) --- diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index a7aefb7f9..ebe66fe25 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -653,7 +653,7 @@ class ControlsManager extends St.Widget { this._stateAdjustment.remove_transition('value'); this._stateAdjustment.ease(value, { duration: SIDE_CONTROLS_ANIMATION_TIME, - mode: Clutter.AnimationMode.EASE_OUT_QUAD, + mode: Clutter.AnimationMode.EASE_OUT_SINE, }); } @@ -724,7 +724,7 @@ class ControlsManager extends St.Widget { this._stateAdjustment.value = ControlsState.HIDDEN; this._stateAdjustment.ease(state, { duration: Overview.ANIMATION_TIME, - mode: Clutter.AnimationMode.EASE_OUT_QUAD, + mode: Clutter.AnimationMode.EASE_OUT_SINE, onStopped: () => { if (callback) callback();